TreeGrid Cells Tutorial
11. Dynamic column and row spanning
Let users to span and split cells by mouse dragging

Select cell ranges by mouse dragging and right click to span the range. Press mouse middle button to split the cell under mouse. You can select and span cells directly by dragging by right mouse button. You can span and split selected cells also by clicking to toolbar buttons Split and Join.
You can span rows also on different tree levels. When spanned parent row through its children, the children are always spanned all.
You can test here deleting spanned rows, adding rows to spanned range, moving rows between, into and out the spanned ranges (by mouse dragging with Ctrl key held). Hiding, showing and moving columns with spanned cells. Also sorting, filtering and grouping the spanned rows. And finally editing in the spanned cells.

11 -

Dynamic Span

.xml